PopupWindowState

class PopupWindowState(val browser: Browser, bounds: Rect = DEFAULT_POPUP_BOUNDS, onClose: (PopupWindowState) -> Unit, scope: <Error class: unknown class>) : AutoCloseable

State of PopupWindow.

Since

8.0.0

Parameters

browser

The popup browser.

bounds

The initial bounds of the popup.

scope

The coroutine scope used to update Compose observables.

onClose

A callback to be called when the popup is closed.

Constructors

Link copied to clipboard
constructor(browser: Browser, bounds: Rect = DEFAULT_POPUP_BOUNDS, onClose: (PopupWindowState) -> Unit, scope: <Error class: unknown class>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun close()